﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 调出单行AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class TransOutLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public TransOutLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					StoreUOMQty=0m; 
		
		
					DocLineNo= 0; 
				
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.TransferOutAITDTO != null) 
			{
				this.TransferOutAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.TransOutWh != null) 
			{
				this.TransOutWh.DoSerializeKeyList(dict);
			}
	        			if (this.TransOutOrg != null) 
			{
				this.TransOutOrg.DoSerializeKeyList(dict);
			}
	        	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.ItemInfo != null) 
			{
				this.ItemInfo.DoSerializeKeyList(dict);
			}
	        	        			if (this.Currency != null) 
			{
				this.Currency.DoSerializeKeyList(dict);
			}
	        			if (this.TransInWh != null) 
			{
				this.TransInWh.DoSerializeKeyList(dict);
			}
	        			if (this.LotInfo != null) 
			{
				this.LotInfo.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public TransOutLineAITDTOData(  ufida.u9.ait.openapi.TransferOutAITDTOData transferOutAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transOutWh  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transOutOrg  , System.Decimal storeUOMQty  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfItemInfoData itemInfo  , System.Int16 docLineNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData currency  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transInWh  , ufida.u9.ait.openapi.CopyOfLotInfoData lotInfo  )
		{
			initData();
			this.TransferOutAITDTO = transferOutAITDTO;
			this.TransOutWh = transOutWh;
			this.TransOutOrg = transOutOrg;
			this.StoreUOMQty = storeUOMQty;
			this.Org = org;
			this.ItemInfo = itemInfo;
			this.DocLineNo = docLineNo;
			this.Currency = currency;
			this.TransInWh = transInWh;
			this.LotInfo = lotInfo;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 调出单AITDTO
		/// 调出单行AITDTO.Misc.调出单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.TransferOutAITDTOData m_transferOutAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.TransferOutAITDTOData TransferOutAITDTO
		{
			get	
			{	
				return m_transferOutAITDTO ;
			}
			set	
			{	
				m_transferOutAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 调出仓库
		/// 调出单行AITDTO.Misc.调出仓库
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transOutWh ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TransOutWh
		{
			get	
			{	
				return m_transOutWh ;
			}
			set	
			{	
				m_transOutWh = value ;	
			}
		}
			
		

		/// <summary>
		/// 调出组织
		/// 调出单行AITDTO.Misc.调出组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transOutOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TransOutOrg
		{
			get	
			{	
				return m_transOutOrg ;
			}
			set	
			{	
				m_transOutOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量
		/// 调出单行AITDTO.Misc.数量
		/// </summary>
		private System.Decimal m_storeUOMQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal StoreUOMQty
		{
			get	
			{	
				return m_storeUOMQty ;
			}
			set	
			{	
				m_storeUOMQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 属性
		/// 调出单行AITDTO.Misc.属性
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 调出单行AITDTO.Misc.料品
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfItemInfoData m_itemInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfItemInfoData ItemInfo
		{
			get	
			{	
				return m_itemInfo ;
			}
			set	
			{	
				m_itemInfo = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 调出单行AITDTO.Misc.行号
		/// </summary>
		private System.Int16 m_docLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int16 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 币种
		/// 调出单行AITDTO.Misc.币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_currency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Currency
		{
			get	
			{	
				return m_currency ;
			}
			set	
			{	
				m_currency = value ;	
			}
		}
			
		

		/// <summary>
		/// 调入仓库
		/// 调出单行AITDTO.Misc.调入仓库
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transInWh ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TransInWh
		{
			get	
			{	
				return m_transInWh ;
			}
			set	
			{	
				m_transInWh = value ;	
			}
		}
			
		

		/// <summary>
		/// 批号
		/// 调出单行AITDTO.Misc.批号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfLotInfoData m_lotInfo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfLotInfoData LotInfo
		{
			get	
			{	
				return m_lotInfo ;
			}
			set	
			{	
				m_lotInfo = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
